var express = require('express');
var router = express.Router();

const { getCarsList,carInform,changeCarStatus ,getAllCar} = require('../controllers/cars');

router.post("/getCarsList",getCarsList); //获取车辆列表

router.post('/carInform',carInform) //获取车辆信息

router.post("/changeCarStatus",changeCarStatus)//改变车辆状态
router.post("/getAllCar",getAllCar)//获取所有车辆返回数据
module.exports = router;
